// import http from './interface'
// import store from '@/store'
// //设置请求前拦截器
// http.interceptor.request = (config) => {

// 	config.header = {

// 	}


// }
// //设置请求结束后拦截器
// http.interceptor.response = (response) => {
// 	debugger
// 	console.log("=============--------"+store.state.userInfo.token)
// 	uni.hideLoading()
// 	if(response.statusCode === 200){
// 		if ( response.data.code === 20001 || response.data.code === 20002) {
// 			//未登录
// 			uni.showToast({
// 				title: response.data.message,
// 				duration: 450,
// 				icon: "none"
// 			});
// 			setTimeout(function() {
// 				uni.navigateTo({
// 					url: '/pages/user/login',
// 					animationType: 'slide-in-bottom',
// 					"animationDuration": 450
// 				});
// 			}, 450);
// 			//清除本地token
// 			if (response.data.code === 20002) {
// 				uni.removeStorageSync('token')
// 			}
// 			return
// 		}
// 	}else{
// 		uni.showToast({
// 			title: '网络好像不太通畅~',
// 			duration: 1200,
// 			icon: 'none'
// 		})
// 	}

// }
import http from './interface'
import store from '@/store'
//设置请求前拦截器
http.interceptor.request = (config) => {
	config.header = {
		'token': store.state.userInfo.token,
	}

}
//设置请求结束后拦截器
http.interceptor.response = (response) => {
	console.log("=============--------"+store.state.userInfo.token)
	uni.hideLoading()
	if(response.statusCode === 200){
		if ( response.data.code === 20001 || response.data.code === 20002) {
			//未登录
			uni.showToast({
				title: response.data.message,
				duration: 1200,
				icon: 'none'
			})
			setTimeout(function() {
				uni.navigateTo({
					url: '/pages/user/login',
					animationType: 'slide-in-bottom',
					"animationDuration": 450
				});
			}, 450);
			store.commit('logout')
			return
		}
	}else{
		uni.showToast({
			title: '网络好像不太通畅~',
			duration: 1200,
			icon: 'none'
		})
	}

}

export const addSubtractProduct = (data) => {
	// uni.showLoading({
	// 	title: '加载中',
	// 	mask: true
	// })

	return http.request({
		url: 'api/shopping_cart/saveData',
		method: 'POST',
		data,
	})
}

export const getShopList = (data, pageNum, pageSize) => {
	http.interceptor.request = (config) => {
		config.header = {
			'pageNum': pageNum,
			'pageSize': pageSize,
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: 'api/shop/shopList',
		method: 'POST',
		data,
	})
}

/**
 * 将业务所有接口统一起来便于维护
 * 如果项目很大可以将 url 独立成文件，接口分成不同的模块
 *
 */

// 单独导出(测试接口) import {test} from '@/common/vmeitime-http/'
export const test = (data) => {
	/* http.config.baseUrl = "http://localhost:8080/api/"
	//设置请求前拦截器
	http.interceptor.request = (config) => {
		config.header = {
			"token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
		}
	} */
	//设置请求结束后拦截器
	// http.interceptor.response = (response) => {
	// 	console.log('个性化response....')
	// 	//判断返回状态 执行相应操作
	// 	return response;
	// }
	return http.request({
		baseUrl: 'https://unidemo.dcloud.net.cn/',
		url: 'ajax/echo/text?name=uni-app',
		dataType: 'text',
		data,
	})
}


export const getProductList = (data,pageNum,pageSize) => {
	http.interceptor.request = (config) => {
		config.header = {
			'pageNum': pageNum,
			'pageSize': pageSize,
			'token': store.state.userInfo.token
		}
	}

	return http.request({
		url: 'api/goods/getPage',
		method: 'POST',
		data,
	})
}

export const getShopInfo = (data) => {

	return http.request({
		url: 'api/shop/shopInfo',
		method: 'POST',
		data,
	})
}
export const subOrder = (data) => {
	uni.showLoading({
		title: '加载中',
		mask: true
	})

	return http.request({
		url: 'api/orders/addOrderList',
		method: 'POST',
		data,
	})
}

export const payOrder = (data) => {
	uni.showLoading({
		title: '加载中',
		mask: true
	})

	return http.request({
		url: 'api/shopping_cart/getSettlement',
		method: 'POST',
		data,
	})
}

export const getCartList = (data) => {


	return http.request({
		url: 'api/shopping_cart/getPage',
		method: 'POST',
		data,
	})
}
export const getOrderList = (data, pageNum, pageSize) => {
	http.interceptor.request = (config) => {
		config.header = {
			'pageNum': pageNum,
			'pageSize': pageSize,
			'token':  store.state.userInfo.token
		}
	}

	return http.request({
		url: 'api/orders/getOrdersList',
		method: 'POST',
		data,
	})
}
export const pay = (data) => {
	uni.showLoading({
		title: '加载中',
		mask: true
	})

	return http.request({
		url: 'api/shopping_cart/getSettlement',
		method: 'POST',
		data,
	})
}
export const login = (data) => {


	return http.request({
		url: 'api/user/login',
		method: 'POST',
		data,
	})
}

export const getUserInfo = (data) => {


	return http.request({
		url: 'api/user/getUserInfo',
		method: 'POST',
		data,
	})
}
export const getVerificationCode = (data) => {
	uni.showLoading({
		title: '加载中',
		mask: true
	})

	return http.request({
		url: 'api/user/getVerificationCode',
		method: 'POST',
		data,
	})
}
export const registerUser = (data) => {
	uni.showLoading({
		title: '加载中',
		mask: true
	})

	return http.request({
		url: 'api/user/registerUser',
		method: 'POST',
		data,
	})
}
export const loadRegisterUser = (data) => {
	uni.showLoading({
		title: '加载中',
		mask: true
	})

	return http.request({
		url: 'api/user/loadRegisterUser',
		method: 'POST',
		data,
	})
}

export const getIntegralRecode = (data,pageNum,pageSize) => {
	http.interceptor.request = (config) => {
		config.header = {
			'pageNum': pageNum,
			'pageSize': pageSize,
			'token':  store.state.userInfo.token
		}
	}

	return http.request({
		url: 'api/pri/AccumulatePoints/getAddAccumulatePointsList',
		method: 'POST',
		data,
	})
}
export const topUpIntegral = (data) => {
	uni.showLoading({
		title: '加载中',
		mask: true
	})
	return http.request({
		url: 'api/pri/AccumulatePoints/topUpIntegral',
		method: 'POST',
		data,
	})
}
export const resetPassword = (data) => {
	uni.showLoading({
		title: '加载中',
		mask: true
	})
	return http.request({
		url: 'api/user/resetPassword',
		method: 'POST',
		data,
	})
}

export const addAddress = (data) => {
	uni.showLoading({
		title: '加载中',
		mask: true
	})
	return http.request({
		url: 'api/pri/city/address',
		method: 'POST',
		data,
	})
}
export const getAddressList = (data) => {

	return http.request({
		url: 'api/pri/city/getList',
		method: 'POST',
		data,
	})
}

export const delAddress = (data) => {
	uni.showLoading({
		title: '加载中',
		mask: true
	})
	return http.request({
		url: 'api/pri/city/deleteAddress',
		method: 'POST',
		data,
	})
}
export const setDefault = (data) => {

	return http.request({
		url: 'api/pri/city/updateAddress',
		method: 'POST',
		data,
	})
}
export const getAddressInfo = (data) => {

	return http.request({
		url: 'api/pri/city/findObjectById',
		method: 'POST',
		data,
	})
}
export const updateAddress = (data) => {
	uni.showLoading({
		title: '加载中',
		mask: true
	})
	return http.request({
		url: 'api/pri/city/updateAddress',
		method: 'POST',
		data,
	})
}

export const getUserAppointInfo = (data) => {

	return http.request({
		url: 'api/pri/takes/getUserInfo',
		method: 'POST',
		data,
	})
}
export const updateUserAppointInfo = (data) => {

	return http.request({
		url: 'api/pri/takes/updateUserInfo',
		method: 'POST',
		data,
	})
}

export const lastRelease = (data) => {

	return http.request({
		url: 'release/lastRelease',
		method: 'POST',
		data,
	})
}

export const clearCart = (data) => {

	return http.request({
		url: 'api/shopping_cart/clearAllByShopId',
		method: 'POST',
		data,
	})
}

export const updateUserInfo = (data) => {

	return http.request({
		url: 'api/user/updateUserInfo',
		method: 'POST',
		data,
	})
}

export const insertUserDevice = (data) => {

	return http.request({
		url: 'userDevice/insertUserDevice',
		method: 'POST',
		data,
	})
}

export const getClassOrActivityList = (data) => {

	return http.request({
		url: 'api/v1/pri/class_or_activity/getClassOrActivityList',
		method: 'POST',
		data,
	})
}
export const getClassOrActivityInfo = (data) => {

	return http.request({
		url: 'api/v1/pri/class_or_activity/getClassOrActivityInfo',
		method: 'POST',
		data,
	})
}
export const applyActivity = (data) => {

	return http.request({
		url: 'api/v1/pri/orders_class_or_activity/payOrders',
		method: 'POST',
		data,
	})
}
export const createOrders = (data) => {

	return http.request({
		url: 'api/v1/pri/orders_class_or_activity/createOrders',
		method: 'POST',
		data,
	})
}

export const signUpOrOut = (data) => {

	return http.request({
		url: 'api/v1/pri/orders_class_or_activity/signUpOrOut',
		method: 'POST',
		data,
	})
}
export const getScheduleByDate = (data) => {

	return http.request({
		url: 'api/v1/pri/orders_class_or_activity/getScheduleByDate',
		method: 'POST',
		data,
	})
}
export const getScheduleByMonth = (data) => {

	return http.request({
		url: 'api/v1/pri/orders_class_or_activity/schedule',
		method: 'POST',
		data,
	})
}

export const checkLogin = (data) => {

	return http.request({
		url: 'api/user/checkLogin',
		method: 'POST',
		data,
	})
}

export const getSignLongTime = (data) => {

	return http.request({
		url: 'api/v1/pri/orders_class_or_activity/getSignLongTime',
		method: 'POST',
		data,
	})
}
export const getOrdersInfo = (data) => {

	return http.request({
		url: 'api/orders/getOrdersInfo',
		method: 'POST',
		data,
	})
}

export const updateOrderState = (data) => {

	return http.request({
		url: 'api/orders/updateIsAfhalen',
		method: 'POST',
		data,
	})
}

export const deleteOrder = (data) => {

	return http.request({
		url: 'api/orders/deleteOrder',
		method: 'POST',
		data,
	})
}

export const ordersRefund = (data) => {

	return http.request({
		url: 'api/orders/ordersRefund',
		method: 'POST',
		data,
	})
}
export const refundInfo = (data) => {

	return http.request({
		url: '/api/orders/refundInfo',
		method: 'POST',
		data,
	})
}
export const getClassOrdersList = (data,pageNum,pageSize) => {
     http.interceptor.request = (config) => {
		config.header = {
			'pageNum': pageNum,
			'pageSize': pageSize,
			'token':  store.state.userInfo.token
		}
	}
	return http.request({
		url: 'api/v1/pri/orders_class_or_activity/getClassOrActivityOrdersList',
		method: 'POST',
		data,
	})
}
export const getClassOrdersListInfo = (data) => {

	return http.request({
		url: 'api/v1/pri/orders_class_or_activity/getClassOrActivityOrdersInfo',
		method: 'POST',
		data,
	})
}
export const ClassOrActivityRefund = (data) => {

	return http.request({
		url: 'api/v1/pri/orders_class_or_activity/ClassOrActivityRefund',
		method: 'POST',
		data,
	})
}
export const ClassOrActivityRefundInfo = (data) => {

	return http.request({
		url: 'api/v1/pri/orders_class_or_activity/ClassOrActivityRefundInfo',
		method: 'POST',
		data,
	})
}
export const cancelRefund = (data) => {

	return http.request({
		url: 'api/v1/pri/orders_class_or_activity/cancelRefund',
		method: 'POST',
		data,
	})
}
export const cancelOrders = (data) => {

	return http.request({
		url: 'api/v1/pri/orders_class_or_activity/cancelOrders',
		method: 'POST',
		data,
	})
}
export const getMyClass = (data) => {
     http.interceptor.request = (config) => {
		config.header = {
			'token':  store.state.userInfo.token
		}
	}
	return http.request({
		url: 'api/v1/pri/orders_class_or_activity/getMyClass',
		method: 'POST',
		data,
	})
}
export const classStudents = (data) => {

	return http.request({
		url: 'api/v1/pri/orders_class_or_activity/classStudents',
		method: 'POST',
		data,
	})
}
export const getCityCode = (data) => {
	return http.request({
		url: 'http://192.168.1.6:8002/api/admin/shop/getCityCode',
		method: 'GET',
		data,

	})
}
export const getTeacherInfo = (data) => {
	return http.request({
		url: 'api/v1/pri/class_or_activity/getTeacherInfo',
		method: 'POST',
		data,

	})
}
export const getClassSign = (data) => {
	return http.request({
		url: 'api/v1/pri/orders_class_or_activity/getClassSign',
		method: 'POST',
		data,

	})
}
export const getMessageToList = (data,pageNum,pageSize) => {
	http.interceptor.request = (config) => {
		config.header = {
			'pageNum': pageNum,
			'pageSize': pageSize,
			'token':  store.state.userInfo.token
		}
	}
	return http.request({
		url: 'api/pri/message_admin/getMessageToList',
		method: 'POST',
		data,

	})
}
export const getMessageFromList = (data,pageNum,pageSize) => {
	http.interceptor.request = (config) => {
		config.header = {
			'pageNum': pageNum,
			'pageSize': pageSize,
			'token':  store.state.userInfo.token
		}
	}
	return http.request({
		url: 'api/pri/message_admin/getMessageFromList',
		method: 'POST',
		data,

	})
}
export const getClassMessage = (data,pageNum,pageSize) => {
	http.interceptor.request = (config) => {
		config.header = {
			'pageNum': pageNum,
			'pageSize': pageSize,
			'token':  store.state.userInfo.token
		}
	}
	return http.request({
		url: 'api/pri/message_admin/getClassMessage',
		method: 'POST',
		data,

	})
}
export const getMessageToInfo = (data) => {
	http.interceptor.request = (config) => {
		config.header = {
			'token':  store.state.userInfo.token
		}
	}
	return http.request({
		url: 'api/pri/message_admin/getMessageToInfo',
		method: 'POST',
		data,

	})
}
export const getMessageFromInfo = (data) => {
	http.interceptor.request = (config) => {
		config.header = {
			'token':  store.state.userInfo.token
		}
	}
	return http.request({
		url: 'api/pri/message_admin/getMessageFromInfo',
		method: 'POST',
		data,

	})
}
export const sendMessage = (data) => {
	http.interceptor.request = (config) => {
		config.header = {
			'token':  store.state.userInfo.token
		}
	}
	return http.request({
		url: 'api/pri/message_admin/sendMessage',
		method: 'POST',
		data,

	})
}
export const getListActivityClassify = (data) => {
	return http.request({
		url: '/api/activity/getListActivityClassify',
		method: 'POST',
		data,

	})
}

export const getListActivity = (data,pageNum,pageSize) => {
	http.interceptor.request = (config) => {
		config.header = {
			'pageNum': pageNum,
			'pageSize': pageSize,
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/activity/getListActivity',
		method: 'POST',
		data,

	})
}
export const getActivityInfo = (data) => {
	return http.request({
		url: '/api/activity/getActivityInfo',
		method: 'POST',
		data,

	})
}
export const getListUnity = (data) => {
	return http.request({
		url: '/api/activity/getListUnity',
		method: 'POST',
		data,

	})
}
export const applyUnity = (data) => {
	return http.request({
		url: '/api/activity/applyUnity',
		method: 'POST',
		data,

	})
}
export const getLeaveApplyType = (data) => {
	http.interceptor.request = (config) => {
		config.header = {
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/pri/leave_apply/getLeaveApplyType',
		method: 'GET',
		data,

	})
}
export const getApplyRecord = (data,pageNum,pageSize) => {
	http.interceptor.request = (config) => {
		config.header = {
			'pageNum': pageNum,
			'pageSize': pageSize,
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/activity/getApplyRecord',
		method: 'POST',
		data,

	})
}
export const submitLeaveApply = (data) => {
	http.interceptor.request = (config) => {
		config.header = {
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/pri/leave_apply/submitLeaveApply',
		method: 'POST',
		data,

	})
}
export const getApplyRecordByUnityLeader = (data,pageNum,pageSize) => {
	http.interceptor.request = (config) => {
		config.header = {
			'pageNum': pageNum,
			'pageSize': pageSize,
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/activity/getApplyRecordByUnityLeader',
		method: 'POST',
		data,

	})
}
export const getLeaveLog = (data) => {
	http.interceptor.request = (config) => {
		config.header = {
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/pri/leave_apply/getLeaveLog',
		method: 'POST',
		data,

	})
}
export const checkApply = (data) => {
	return http.request({
		url: '/api/activity/checkApply',
		method: 'POST',
		data,

	})
}
export const getLeaveLogInfo = (data) => {
	http.interceptor.request = (config) => {
		config.header = {
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/pri/leave_apply/getLeaveLogInfo',
		method: 'POST',
		data,

	})
}
export const passOrRefuseLeave = (data) => {
	http.interceptor.request = (config) => {
		config.header = {
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/pri/leave_apply/passOrRefuseLeave',
		method: 'POST',
		data,

	})
}
export const getClassTeacher = (data) => {
	http.interceptor.request = (config) => {
		config.header = {
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/pri/leave_apply/getClassTeacher',
		method: 'POST',
		data,

	})
}
export const getCommand = (data) => {
	return http.request({
		url: '/api/activity/getCommand',
		method: 'POST',
		data,

	})
}
export const getLeaveApplyLog = (data) => {
	http.interceptor.request = (config) => {
		config.header = {
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/pri/leave_apply/getLeaveApplyLog',
		method: 'POST',
		data,

	})
}
export const getunreadnumber = (data) => {
	http.interceptor.request = (config) => {
		config.header = {
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/pri/message_admin/get_unread_number',
		method: 'POST',
		data,

	})
}
export const getIdCardInfo = (data) => {
	http.interceptor.request = (config) => {
		config.header = {
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/user/getIdCardInfo',
		method: 'POST',
		data,

	})
}
export const Submitidcard = (data) => {
	http.interceptor.request = (config) => {
		config.header = {
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/user/update_idcard_image',
		method: 'POST',
		data,

	})
}
export const getTeacherScheduleByDate = (data) => {
	http.interceptor.request = (config) => {
		config.header = {
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/v1/pri/orders_class_or_activity/getTeacherScheduleByDate',
		method: 'POST',
		data,

	})
}
export const getScheduleDate = (data) => {
	http.interceptor.request = (config) => {
		config.header = {
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/v1/pri/orders_class_or_activity/getScheduleDate',
		method: 'POST',
		data,

	})
}
export const studentcard = (data) => {
	http.interceptor.request = (config) => {
		config.header = {
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/user/student_card',
		method: 'POST',
		data,

	})
}
export const checkname = (data) => {
	http.interceptor.request = (config) => {
		config.header = {
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/user/check_name',
		method: 'POST',
		data,

	})
}
export const addTeam = (data) => {
	http.interceptor.request = (config) => {
		config.header = {
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/activity/add_activity_unity',
		method: 'POST',
		data,

	})
}
export const unitylistall = (data,pageNum,pageSize) => {
	http.interceptor.request = (config) => {
		config.header = {
			'pageNum': pageNum,
			'pageSize': pageSize,
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/activity/get_activity_unity_list_all',
		method: 'POST',
		data,

	})
}
export const mycreateTeam = (data) => {
	http.interceptor.request = (config) => {
		config.header = {
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/activity/get_activity_unity_list',
		method: 'POST',
		data,

	})
}
export const TeamInfo = (data) => {
	http.interceptor.request = (config) => {
		config.header = {
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/activity/get_activity_unity_info',
		method: 'POST',
		data,

	})
}
export const memberlist = (data) => {
	http.interceptor.request = (config) => {
		config.header = {
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/activity/get_activity_unity_member_list',
		method: 'POST',
		data,

	})
}
export const memberoperation = (data) => {
	http.interceptor.request = (config) => {
		config.header = {
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/activity/personnel_operation',
		method: 'POST',
		data,

	})
}
export const joinedactivity = (data) => {
	http.interceptor.request = (config) => {
		config.header = {
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/activity/joined_activity',
		method: 'POST',
		data,

	})
}
export const unityjoin = (data) => {
	http.interceptor.request = (config) => {
		config.header = {
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/activity/bind_activity_unity_join',
		method: 'POST',
		data,

	})
}
export const exitactivity = (data) => {
	http.interceptor.request = (config) => {
		config.header = {
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/activity/exit_activity',
		method: 'POST',
		data,

	})
}
export const bindactivity = (data) => {
	http.interceptor.request = (config) => {
		config.header = {
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/activity/bind_activity_unity_join',
		method: 'POST',
		data,

	})
}
export const applyrecord = (data,pageNum,pageSize) => {
	http.interceptor.request = (config) => {
		config.header = {
			'pageNum': pageNum,
			'pageSize': pageSize,
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/activity/get_activity_unity_apply_record',
		method: 'POST',
		data,

	})
}
export const unityrecord = (data,pageNum,pageSize) => {
	http.interceptor.request = (config) => {
		config.header = {
			'pageNum': pageNum,
			'pageSize': pageSize,
			'token': store.state.userInfo.token
		}
	}
	return http.request({
		url: '/api/activity/get_activity_unity_apply_record',
		method: 'POST',
		data,

	})
}
export default {
	getCommand,
	checkApply,
	getApplyRecordByUnityLeader,
	getApplyRecord,
	applyUnity,
	getListUnity,
	getActivityInfo,
	getListActivity,
	getListActivityClassify,
	createOrders,
	refundInfo,
	ordersRefund,
	deleteOrder,
	updateOrderState,
	getOrdersInfo,
	getSignLongTime,
	checkLogin,
	getScheduleByMonth,
	getScheduleByDate,
	signUpOrOut,
	applyActivity,
	getClassOrActivityInfo,
	getClassOrActivityList,
	insertUserDevice,
	updateUserInfo,
	clearCart,
	lastRelease,
	updateUserAppointInfo,
	getUserAppointInfo,
	updateAddress,
	getAddressInfo,
	setDefault,
	delAddress,
	getAddressList,
	addAddress,
	resetPassword,
	topUpIntegral,
	getIntegralRecode,
	loadRegisterUser,
	registerUser,
	getVerificationCode,
	getUserInfo,
	login,
	getOrderList,
	getCartList,
	payOrder,
	subOrder,
	getShopInfo,
	getShopList,
	addSubtractProduct,
	getProductList,
	getClassOrdersList,
	getClassOrdersListInfo,
	ClassOrActivityRefund,
	ClassOrActivityRefundInfo,
	cancelRefund,
	cancelOrders,
	getMyClass,
	classStudents,
	getTeacherInfo,
	getClassSign,
	getMessageToList,
	getMessageFromList,
	getClassMessage,
	getMessageToInfo,
	getMessageFromInfo,
	sendMessage,
	getLeaveApplyType,
	getClassTeacher,
	submitLeaveApply,
	getLeaveLog,
	getLeaveLogInfo,
	passOrRefuseLeave,
	getLeaveApplyLog,
	getunreadnumber,
	getIdCardInfo,
	Submitidcard,
	getTeacherScheduleByDate,
	getScheduleDate,
	studentcard,
	checkname,
	addTeam,
	unitylistall,
	mycreateTeam,
	TeamInfo,
	memberlist,
	memberoperation,
	joinedactivity,
	unityjoin,
	exitactivity,
	bindactivity,
	applyrecord,
	unityrecord
	// getCityCode
}
